package com.example.demo.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;
import lombok.RequiredArgsConstructor;

@Getter
@RequiredArgsConstructor
public enum ObjectiveQuestionType {

    SINGLE_CHOICE(0, "单选题"),

    MULTIPLE_CHOICE(1, "多选题"),

    TURE_OR_FALSE(2, "判断题"),

    ;

    @EnumValue
    private final Integer value;

    private final String text;

}
